<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
		<script src="__CDN__/assets/js/jquery-2.1.0.js"></script>
		<script src="__CDN__/assets/js/rem.js"></script>
		<title>领取须知</title>
	</head>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		body{
			background-color: #fff10c;
		}
		a{
			color: #000;
		}
		.container{
			background-color: #fff10c;
			overflow: hidden;
		}
		.sectiontop{
			margin: 0 auto;overflow: hidden;width: 4.35rem;
			position: absolute;
			top: 1.07rem;
			left: 23%;
		}
		.scroll{
			overflow: auto;
			position: relative;
		}
		.topbg{
			width: 100%;
		}
		.bottombg{
			width: 100%;position: absolute;bottom: 0;left: 0;
		}
		.topleft{
			width: 40%;float: left;
		}
		.topright{
			float: left;margin-left: 0.4rem;
		}
		.ewm{
			width: 1.6rem;height: 1.6rem;
		}
		.topright p{
			margin: 0.1rem 0 0 -0.1rem;font-weight: bold;font-size: 0.26rem;
		}
		.topright p span{
			color: #ec3648;
		}
		.ewm img{
		    width: 100%;
		}
		.content1{
			display: block; width: 60%;margin: 0 auto; margin-top: 0.4rem;
		}
		.content2{
			display: block;
			width: 95%;
			margin: 0 auto;
		}
		@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3){
			.content1{width: 85%;margin-top: 1.2rem;}
			.content2{width: 100%;}
			.topleft{width: 1.9rem;}
			.ewm{width: 1.8rem;height: 1.8rem;}
			.sectiontop{left: 20%;top: 1.5rem;}
		}
		@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:3) {
			.content1{width: 85%;margin-top: 1.2rem;}
			.content2{width: 100%;}
			.topleft{width: 1.9rem;}
			.ewm{width: 1.8rem;height: 1.8rem;}
			.sectiontop{left: 20%;top: 1.5rem;}
		}
		@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:2) {
			.content1{width: 85%;margin-top: 1.2rem;}
			.content2{width: 100%;}
			.topleft{width: 1.9rem;}
			.ewm{width: 1.8rem;height: 1.8rem;}
			.sectiontop{left: 20%;top: 1.5rem;}
		}
	</style>
	<script>
		$(function(){
			var winHeight = $(window).height();
			$('.container').css('height',winHeight);
			var bottombgHeight = $('.bottombg').height();
			var scrollHeight = winHeight -bottombgHeight;
			console.log(scrollHeight);
			$('.scroll').css('height',scrollHeight);
		});
	</script>
	<body>

		<div class="container">
			<div class="scroll">
				<img class="topbg" src="__CDN__/assets/img/sucai_topbg.png"/>
				<div class="sectiontop">
					<img class="topleft" src="__CDN__/assets/img/top1.jpg"/>
					<div class="topright">
						<div class="ewm"><img src="{$erweima}"/></div>
							{if $receive eq 2}
							<p>本二维码<span>已领取</span></p>
							{else}
							<p>本二维码<span>未领取</span></p>
							{/if}
					</div>
				</div>
				<img class="content1" src="__CDN__/assets/img/content1.jpg"/>
				<img class="content2" style="" src="__CDN__/assets/img/content2.jpg"/>
			</div>
			<img class="bottombg" src="__CDN__/assets/img/sucai_bottombg.png"/>
		</div>
	</body>
</html>
